ShaderNodeLightDecayΒΆ
Compute the decay of the light color using the distance between the surface and the light. This node must be used in a light shader.
Mode
Operator to use.
- Off : No decay
- Linear : Returns color / length (L). This is the slowest decay function.
- Quadratic : Returns color / pow (length (L), 2). This is a medium decay function. This also the physical decay.
- Cubic : Returns color / pow (length (L), 3). This is the fastest decay function.